<script type="text/javascript">
    function tiaozhuan(){
        window.location.href="{:U('Home/UserAdd/UserSkip')}";
    }
    function denglu(){
        window.location.href="{:U('Home/UserLogin/userLogin')}";
    }
</script>
<div class="nav">
    <div class="nav-width">
        <div class="nav-logo">
            <img src="__PUBLIC__/Admin/img/LOGO-background.png" alt="LOGO"/>
        </div>
        <!--<img src="__PUBLIC__/Admin/img/首页3_06.png" alt="LOGO"/>-->
        <!--<div class="connect">-->
            <!-- -->
        <!--</div>-->
    <if condition="getUserId() eq 0 || $_userName eq ''">
        <div class="nav-nemu">
           <div class="register_xyz" onclick="tiaozhuan()">
               <span>注册</span>
           </div>
            <div class="login_xyz" onclick="denglu()">
                <span class="login_xyz">登陆</span>
            </div>
        </div>
        <else/>
        <div class="nav-nemu-bottom">
            <span class="nav-cc">欢迎：{:$_userName}</span>
            <a class="nav-cd" href="{:U('Home/Index/userTui')}">退出</a>
        </div>
    </if>
        </div>
    </div>
</div>